home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 52 / Amiga Format AFCD52 (Issue 136, May 2000).iso / -serious- / programming / other / systracker_src / src / st_strings.c < prev    next >
Encoding:
C/C++ Source or Header  |  2000-02-28  |  4.8 KB  |  91 lines

  1. /***************************************************************************/
  2. /* st_string.c - Strings.                                                  */
  3. /*                                                                         */
  4. /* Copyright © 1999-2000 Andrew Bell. All rights reserved.                 */
  5. /***************************************************************************/
  6.  
  7. #include "SysTracker_rev.h"
  8. #include "st_include.h"
  9. #include "st_protos.h"
  10. #include "st_strings.h"
  11.  
  12. /***************************************************************************/
  13.  
  14. UBYTE *Strings[] = /* Eventually all strings will end up here */
  15. {
  16.   /* SID_EMPTY                      */ "",
  17.   /* SID_OK                         */ "OK",
  18.   /* SID_ERROR                      */ "Error",
  19.   /* SID_UNKNOWN_BRACKET            */ "(unknown)",
  20.   /* SID_LVO_POINTS_TO              */ "- [LVO points to 0x%08lx, should be 0x%08lx],\n",
  21.   /* SID_LVO_OK                     */ "- [OK],\n",
  22.  
  23.   /* SID_CANT_REMOVE_PATCHES        */ "SysTracker cannot remove it's patches from the following\n"
  24.                                        "library vectors because another program has also patched\n"
  25.                                        "them:\n\n",
  26.  
  27.   /* SID_PLEASE_REMOVE_HACKS        */ "\n\n"
  28.                                        "Please quit any patches, hacks, snooping utilities, virus checkers,\n"
  29.                                        "or similar programs that were started after SysTracker, before\n"
  30.                                        "attempting to quit.",
  31.  
  32.   /* SID_ERROR_REMOVING_PATCHES     */ "Error removing patches",
  33.   /* SID_OK_I_WILL                  */ "OK, I will",
  34.   /* SID_APPS_USING_THIS_RES        */ "Applications also using this resource",
  35.   /* SID_EXIT                       */ "Exit",
  36.   /* SID_SAVE                       */ "Save",
  37.   /* SID_UPDATE                     */ "Update",
  38.   /* SID_QUIT                       */ "Quit",
  39.   /* SID_TRACK_MODE                 */ "Track mode",
  40.   /* SID_NO_APP_OBJECT              */ "Failed to create application object!",
  41.   /* SID_ACCESSED_FMT_TIMES         */ "Accessed %lu time(s)",
  42.   /* SID_SYSTEM_RESOURCE_TRACKER    */ "System resource tracker",
  43.   /* SID_SAVE_AS_ASCII              */ "Save as ASCII text...",
  44.   /* SID_SHORTHELP_APPLIST          */ "This is the list of applications being tracked by SysTracker",
  45.   /* SID_SHORTHELP_SAVE             */ "Save list as ASCII text for later reference",
  46.   /* SID_SHORTHELP_UPDATE           */ "Go load some programs, then come back and press this",
  47.   /* SID_SHORTHELP_QUIT             */ "Quit SysTracker.",
  48.   /* SID_SHORTHELP_RESNAME          */ "Name of the resource",
  49.   /* SID_SHORTHELP_LIST             */ "Applications that are also using this resource",
  50.   /* SID_SHORTHELP_TRACKERLIST      */ "This lister shows the resources currently allocated by the selected application.",
  51.   /* SID_SHORTHELP_TRACKEROPENCNT   */ "This shows you the amount of times the selected\nitem has been accessed by the application.",
  52.   /* SID_SHORTHELP_TRACK_MODE       */ "Use this to select the track mode",
  53.   /* SID_SHORTHELP_EXIT             */ "Close this window",
  54.   /* SID_I_NEED_LIB                 */ "I need %s version %ld!",
  55.   /* SID_TASK                       */ "Task",
  56.   /* SID_PROCESS                    */ "Process",
  57.   /* SID_UNKNOWN                    */ "Unknown",
  58.   /* SID_ALIVE                      */ "Alive",
  59.   /* SID_DEAD                       */ "Dead",
  60.   /* SID_NA                         */ "N/A",
  61.   /* SID_CLI                        */ "CLI",
  62.   /* SID_WB                         */ "WB",
  63.   /* SID_APPNAME                    */ "\33bApplication name",
  64.   /* SID_TYPE                       */ "\33bType",
  65.   /* SID_STATUS                     */ "\33bStatus",
  66.   /* SID_ORIGIN                     */ "\33bOrigin",
  67.   /* SID_CANT_GET_STACK_MEM         */ "Cannot get stack memory!",
  68.   /* SID_CANT_GET_MEMORY_RESOURCES  */ "Failed to allocate primary memory resources",
  69.   /* SID_OLD_CPU                    */ "Sorry, I need at least an MC68020 CPU. :-(",
  70.   /* SID_OLD_OS                     */ "Sorry, I need OS 3.0 or better. :-(",
  71.   /* SID_CANT_INVOKE_HANDLER        */ "Failed to invoke ARTL handler process!",
  72.   /* SID_CANNOT_OPEN_FOLLOWING_LIBS */ "SysTracker cannot open the following libraries!\n\n",
  73.   /* SID_LIB_VERSION_FMT            */ "%-30s version %ld\n",
  74.   /* SID_UNNAMED_BRACKET            */ "(unnamed)",
  75.   /* SID_EMPTY_NAME_BRACKET         */ "(empty name)",
  76.   /* SID_GENERATED_WITH             */ "\n*** Generated with %s on %s ***\n\n",
  77.   /* SID_IS_USING                   */ "%s is using:\n",
  78.   /* SID_LISTTITLE_LIBRARIES        */ "\33bLibraries",
  79.   /* SID_LISTTITLE_DEVICES          */ "\33bDevices",
  80.   /* SID_LISTTITLE_FONTS            */ "\33bFonts",
  81.   /* SID_LISTTITLE_OPENCOUNT        */ "\33bAccessCnt",
  82. };
  83.  
  84. GPROTO UBYTE *STR_Get( ULONG SID )
  85. {
  86.   if (SID > SID_AMOUNT) return "";
  87.   else return Strings[SID];
  88. }
  89.  
  90.  
  91.